﻿using AutoMapper;
using Process.Api.Application.Command;
using Process.Api.Application.Command.BOM;
using Process.Model;

namespace Process.Api
{
    public class AutoMapperFile:Profile
    {
        public AutoMapperFile()
        {
            CreateMap<AddProcessTypeCommand, ProcessType>();
            CreateMap<UpdateProcessTypeCommand,ProcessType>();
            CreateMap<AddProcessinfoCommand, Processinfo>();
            CreateMap<UpdateProcessCommand,Processinfo>();
            CreateMap<AddGoodsinfoCommand, Goodsinfo>();
            CreateMap<UpdateGoodsinfoCommand, Goodsinfo>();
        }
    }
}
